import axios from '@/libs/api.request'

const prefix = '/api/v1/sports/'
const sportsEvaluationApi = {
  sportsEvaluation (messageId) {
    return axios.request({
      url: prefix + 'sportsEvaluation/' + messageId,
      method: 'delete'
    })
  },

  rank (access) {
    return axios.request({
      url: prefix + '_rank/' + access.id,
      params: {
        ...access
      },
      method: 'get'
    })
  }

}

export default sportsEvaluationApi
